﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DHQGHN.PM2.Models;

namespace DHQGHN.PM2.Security
{
    [Serializable]
    public class MyPrincipalSerializeModel
    {
        public string UserName { get; set; }

        public string AdminCode { get; set; }

        public string AdminName { get; set; } // ten xa

        public string AdminID { get; set; }

        public string FullName { get; set; }

        //phunx1, 20150702: lay them truong GroupCode tu bang ENUMERATOR
        public string GroupCode { get; set; }

        // Quang : them truong GCode de chua groupcode tu bang ENUMERATOR do GroupCode da duoc anh Duong dung de chua ten nhom
        public string GroupName { get; set; }

        public string AppCode { get; set; }

        public int CountDay { get; set; }

        //public List<MenuModel> ListMenu { get; set; }

        // Quang: 20150729: Danh sach roles
        public List<string> Roles
        {
            get;
            set;
        }
    }
}